<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

  <form method="post">
  <table class="bordernone"width="689" height="89" align="center" border="0">
  <tr>
    <td class="bg_blue" width="350" align="right">年度：</td>
    <td width="400">
    <select name="annualVeriYear">
    <option value="">请选择</option>
     <c:forEach var="x" begin="${startYear}" end="${endYear}" step="1">
    <option value="${x}" <c:if test="${x  ==  param.annualVeriYear}">selected</c:if>>${x}</option>
    </c:forEach>
    </select>
    </td>
  </tr> 
  <tr>
    <td class="nohover" colspan="2" align="center"><input class="buttonsearch" type="submit" value="查询">&nbsp;<input class="buttonreset" type="reset" value="重置" ></td>
  </tr>
</table>
 </form>
<form action="">
<table width="100%" border="1">
 <tr>
 <jsp:useBean id="now" class="java.util.Date" />
    <td class="nohover" colspan="10"><c:if test="${now <= date.annualVeriRepEndDate}"><input class="buttonnormal" type="button" value="年审信息" onClick="javascript:window.location.href='<%=request.getContextPath()%>/unitAnnualVeri.do?method=toAdd&flag=2'">&nbsp;&nbsp;<input class="buttonnormal" type="button" value="申请年审" onClick="javascript:window.location.href='<%=request.getContextPath()%>/unitAnnualVeri.do?method=unitFileDetail'"></c:if></td>
 </tr>
  <tr>
    <th width="30">年度</th>
    <th width="70">申报日期</th>
    <th width="70">状态</th>
    <th width="60">审批日期</th>
    <th width="200">审批意见</th>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td>${prod.annualVeriYear}</td>
    <td><fmt:formatDate pattern="yyyy-MM-dd" value="${prod.annualVeriReportTime}"/></td>
	<td><c:if test="${prod.annualVeriState == 0}">审批处理中</c:if><c:if test="${prod.annualVeriState == 1}"><font color="green">通过审批</font></c:if><c:if test="${prod.annualVeriState == 2}"><font color="red">未通过审批</font></c:if></td>
	<td><fmt:formatDate pattern="yyyy-MM-dd" value="${prod.annualVeriApprovalDate}"/></td>
	<td>${prod.annualVeriRemark}</td>
  </tr>
  </c:forEach>
    <tr>
    <td class="nohover" colspan="12" align="center">&nbsp;
    <form name="pageForm" method="post">
    <input type="hidden" name="annualVeriYear" value="${param.annualVeriYear}"/>
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
  </table>
</form>
</body>
</html>
